package com.sghj.record.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sghj.record.entity.RecordIncall;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sghj.record.entity.dto.RecordIncallQuery;
import com.sghj.record.entity.vo.RecordIncallRes;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zhongkai
 * @since 2024-07-15
 */
public interface RecordIncallService extends IService<RecordIncall> {

    IPage<RecordIncallRes> getRecordIncallPage(RecordIncallQuery query, Page<RecordIncallRes> page);

    List<RecordIncallRes> getRecordIncallByDayPlanNumber(Integer dayPlanNumber);

    List<RecordIncallRes> getRecordIncallList(RecordIncallQuery query);

    void insertInCallRecord(String callNo, Integer planId, Integer selectKey, String phoneNumber, Date inTime);
}
